import Mock from 'mockjs';
import userData from './userData';
import loginData from './loginData';

// 请求用户表格数据
Mock.mock('/system/user/listUser', 'get', userData.listData);
// 新增用户
Mock.mock('/system/user/addUser','post', userData.addData)
// 编辑用户
Mock.mock('/system/user/editUser','post', userData.editData)
// 删除用户
Mock.mock('/system/user/deleteUser','delete', userData.deleteData)
// 登录
Mock.mock('/system/login', 'post', loginData.login);